package com.jhs.kjs.service.dao;

import java.util.List;
import java.util.Map;

import com.jhs.kjs.dto.BoardPagingDTO;

public interface IBoardMapper {
	List<BoardPagingDTO> getBoardList(BoardPagingDTO param);
	BoardPagingDTO getBoardCount(BoardPagingDTO param);
	List<BoardPagingDTO> getQnaBoardList(BoardPagingDTO param);
	BoardPagingDTO getQnaBoardCount(BoardPagingDTO param);
	BoardPagingDTO getQnaPrevBoardView(BoardPagingDTO param);
	BoardPagingDTO getQnaNextBoardView(BoardPagingDTO param);
	BoardPagingDTO getBoardView(Map<String, Long> param);
	BoardPagingDTO getPrevBoardView(Map<String, Long> param);
	BoardPagingDTO getNextBoardView(Map<String, Long> param);
	int updateViewCnt(Map<String, Long> param);
	int updateDownloadCnt(Map<String, Long> param);
	int registBoard(BoardPagingDTO param);
	int updateBoard(BoardPagingDTO param);
	List<BoardPagingDTO> getHelpQnaBoardList(BoardPagingDTO param);
	BoardPagingDTO getHelpQnaBoardCount(BoardPagingDTO param);
	BoardPagingDTO getHelpQnaPrevBoardView(Map<String, Long> param);
	BoardPagingDTO getHelpQnaNextBoardView(Map<String, Long> param);
	int deleteBoard(Map<String, Long> param);
	int deleteReplyBoard(Map<String, Long> param);
}
